FROM python:3.8.17-alpine3.17
WORKDIR /www/wwwroot/telegram/api
ADD requirements.txt /www/wwwroot/telegram/api
RUN pip install --upgrade pip
RUN pip install --upgrade setuptools==57.5.0
RUN pip install -r requirements.txt
RUN pip install gunicorn
# RUN gunicorn -w 4 -b 0.0.0.0:8091 api:app --reload
# RUN gunicorn -w 4 -b 0.0.0.0:9896 aps:app --reload
# CMD["python","run_server.py"]

